package com.moss.cloud.base.api.model.from;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
@Data
public class PositionCodeFrom implements Serializable {
    private Long id;
    /**职位代号名称*/
    @NotBlank(message = "职位代号名称不能为空")
    @Size(max = 120,message = "职位代号名称最大不能超过120个字符")
    private String codeName;
    /**职位代号*/
    @NotBlank(message = "职位代号不能为空")
    @Size(max = 32,message = "职位代号不能超过32个字符")
    private String positionCode;
    /**职位代号说明*/
    @Size(max = 300,message = "职位代号说明不能超过300个字符")
    private String codeDesc;
}
